package cn.ainit.yz.cloutStock.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "YZ_CL_OUTSTOCK_ITEM")
public class CloutStockItem implements java.io.Serializable {

	// Fields

	private String outItemId;
	private String outId;
	private String stockId;
	private String clId;
	private String clUnit;
	private double amount;
	private Long price;
	private Long taxRate;
	private Long taxMoney;
	private Long realMoney;
	private String xtId;
	private String sourceId;
	private Long cjAmount;
	private String memo;

	// Constructors

	/** default constructor */
	public CloutStockItem() {
	}

	/** minimal constructor */
	public CloutStockItem(String outItemId) {
		this.outItemId = outItemId;
	}
 
	@Id
	@Column(name = "OUT_ITEM_ID", unique = true, nullable = false, length = 32)
	public String getOutItemId() {
		return this.outItemId;
	}

	public void setOutItemId(String outItemId) {
		this.outItemId = outItemId;
	}
	@Column(name="OUT_ID")
	public String getOutId() {
		return outId;
	}
	public void setOutId(String outId) {
		this.outId = outId;
	}

	@Column(name = "STOCK_ID", length = 32)
	public String getStockId() {
		return this.stockId;
	}

	public void setStockId(String stockId) {
		this.stockId = stockId;
	}

	@Column(name = "CL_ID", length = 32)
	public String getClId() {
		return this.clId;
	}

	public void setClId(String clId) {
		this.clId = clId;
	}

	@Column(name = "CL_UNIT", length = 32)
	public String getClUnit() {
		return this.clUnit;
	}

	public void setClUnit(String clUnit) {
		this.clUnit = clUnit;
	}

	@Column(name = "AMOUNT", precision = 22, scale = 0)
	public double getAmount() {
		return amount;
	}
	public void setAmount(double amount) {
		this.amount = amount;
	}

	@Column(name = "PRICE", precision = 18, scale = 0)
	public Long getPrice() {
		return this.price;
	}

	public void setPrice(Long price) {
		this.price = price;
	}

	@Column(name = "TAX_RATE", precision = 18, scale = 0)
	public Long getTaxRate() {
		return this.taxRate;
	}

	public void setTaxRate(Long taxRate) {
		this.taxRate = taxRate;
	}

	@Column(name = "TAX_MONEY", precision = 18, scale = 0)
	public Long getTaxMoney() {
		return this.taxMoney;
	}

	public void setTaxMoney(Long taxMoney) {
		this.taxMoney = taxMoney;
	}

	@Column(name = "REAL_MONEY", precision = 18, scale = 0)
	public Long getRealMoney() {
		return this.realMoney;
	}

	public void setRealMoney(Long realMoney) {
		this.realMoney = realMoney;
	}

	@Column(name = "XT_ID", length = 32)
	public String getXtId() {
		return this.xtId;
	}

	public void setXtId(String xtId) {
		this.xtId = xtId;
	}

	@Column(name = "SOURCE_ID", length = 32)
	public String getSourceId() {
		return this.sourceId;
	}

	public void setSourceId(String sourceId) {
		this.sourceId = sourceId;
	}

	@Column(name = "CJ_AMOUNT", precision = 18, scale = 0)
	public Long getCjAmount() {
		return this.cjAmount;
	}

	public void setCjAmount(Long cjAmount) {
		this.cjAmount = cjAmount;
	}

	@Column(name = "MEMO", length = 500)
	public String getMemo() {
		return this.memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

}